﻿using System;
using System.Web.Security;
using System.Security.Cryptography;

public partial class Login : SiteFox.Base.Page
{
    protected void btn_Login_Click(object sender, EventArgs e)
    {
        if (this.Login(ucc_Username.Value, ucc_Password.Value))
        {
            Response.Redirect("~/System/Default.aspx");
        }
        else
        {
            ucc_Message.Value = Resources.dcCommon.dc_LoginFailed;
        }
    }
}